Repository navigation
@types/node 26 everywhere, and eslint-config-next 16 to match Next.js 16 - #531
Merged
Merged
Conversation
@types/node moves to 26 in the site, the dashboard, the docs and the CDK app; nothing needed changing. The site's eslint-config-next moves from 15.3 to 16.4, the line of the Next.js it builds with. Version 16 ships a flat config, so eslint.config.mjs reads it directly and @eslint/eslintrc goes. Its React hooks plugin adds the React Compiler rules, which stay off until existing code is moved to them; the two pages that send the browser to a new address on purpose say so where the new Next.js rule looks. Lint reports what it did before: no errors, the same 8 warnings. The lockfile also carries cross-spawn 7.1.2, the same line as the security pull request, so the two merge in either order.
This was referenced Dec 1, 2026
Sign out and leaving a support view keep their code as on main; the new Next.js navigation rule is off for those two files in eslint.config.mjs, with the reason, instead of a disable comment in each.
coderhelm
Bot
dismissed
their stale review
December 1, 2026 15:53
Superseded by CoderHelm's latest review
Contributor
|
💚 Post-merge health check passed: the deploy of
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The Dependabot majors that pass, in one pull request:
@types/node26 in all four packages, andeslint-config-next16 for the site. Covers #519, #522, #523, #525 and #520. The other majors (TypeScript 7 and ESLint 10) need migration work and are left out.Changes
@types/node 26 (
package.json,dashboard/,docs/,infra/, with their lockfiles)eslint-config-next 16 (site root)
eslint.config.mjsreads the package's flat config directly instead of throughFlatCompat, which fails on version 16 ("Converting circular structure to JSON").@eslint/eslintrcis no longer used and is removed.set-state-in-effect,refs,purity,immutability,preserve-manual-memoization,static-components) report about 265 errors in existing dashboard code. They are turned off in the config with a comment, so this change keeps the rules the site had; moving the code to them is follow-up work.@next/next/no-location-assign-relative-destinationrule flags the two places that leave the app with a full page load on purpose (sign out, and leaving a support view). The config turns it off for those two files only, with the reason; their code is unchanged.Lockfile
Verification
Run in a fresh clone of main with these changes:
eslint .reports 0 errors and the same 8 warnings as main;tsc --noEmit,npm run buildand the site's end-to-end specs (20 pass) pass.npm run lint,typecheck,check:openapiandbuildpass; end-to-end specs (boot recovery, dialogs, health, settings, link previews, self-host links) against a static build made the way CI makes it: 59 pass.npm test(compile and 30 tests) passes.